<?php
/**
 * 	Bushido
 *
 * @category   Bushido
 * @package    Bushido_Report
 * @copyright  Copyright (c) 2008-2009 Nathan Keyes
 * @author Nathan Keyes
 * @version    $Id: Abstract.php 7 2009-11-14 22:42:08Z nkeyes $
 */

/**
 * 	Abstract class for reports
 *
 * @category   Bushido
 * @package    Bushido_Report
 * @copyright  Copyright (c) 2008-2009 Nathan Keyes
 */
abstract class Bushido_Report_Abstract implements Bushido_Acl
{
	/**
	 * The name of this report
	 * 
	 * @var string
	 */
	protected $reportName = NULL;
	
	/**
	 * Returns the name of this report
	 * @return string
	 */
	protected function _getReportName()
	{
		if(!isset($this->reportName))
		{
			$this->reportName = substr(get_class($this), strlen('Bushido_Report_'));
		}
		return $this->reportName;
	}
	

}